/**************************************************************
* @brief:       stream handle
* @date:         20200725
* @update:
* @auth:         Wite_Chen
* @copyright:
*
***************************************************************/
#pragma once
#include "StreamDefine.h"



static const std::string kVideoDir = "video";
static const std::string kPictureDir = "picture";
using namespace Stream;
class StreamHandle
{
public:
    
    const std::string kVidoeFormat = ".mp4";
    const std::string kPictureFormat = ".jpg";
    const std::string kAudioFormat = ".aac";
    int kInvalidStreamIndex = -1;

public:
    StreamHandle() { };
    ~StreamHandle() {};
    virtual bool StartDecode(const Stream::StreamInfo& infoStream) = 0;
    virtual void StopDecode() = 0;
    virtual void GetRtmpUrl(std::string& strRtmp) = 0;

};
